<section class="content-header">
	<h1>
		点赞评论
		<small>数据维护</small>
	</h1>
</section>
<section class="content" xmlns:th="http://www.thymeleaf.org">
	<div class="row">
    	<div class="col-xs-12">
        	<div class="box">
	            <div class="box-body">
		            <form id="bpCommentsForm" role="form" class="form-horizontal">
						<div class="form-group">
							<label class="col-md-3 control-label">用户id:</label>
							<div class="col-md-5">
								<input type="text" name="userId" class="form-control" th:value="${bpComments?.userId}"  maxlength="32"/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-3 control-label">类型:</label>
							<div class="col-md-5">
								<input type="text" name="type" class="form-control" th:value="${bpComments?.type}"  maxlength="10"/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-3 control-label">帖子id:</label>
							<div class="col-md-5">
								<input type="text" name="postId" class="form-control" th:value="${bpComments?.postId}"  maxlength="32"/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-3 control-label">评论id:</label>
							<div class="col-md-5">
								<input type="text" name="commentsId" class="form-control" th:value="${bpComments?.commentsId}"  maxlength="32"/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-3 control-label">内容:</label>
							<div class="col-md-5">
								<input type="text" name="content" class="form-control" th:value="${bpComments?.content}"  maxlength="500"/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-3 control-label">是否加精:</label>
							<div class="col-md-5">
								<input type="text" name="isClassic" class="form-control" th:value="${bpComments?.isClassic}"  maxlength="10"/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-3 control-label">是否置顶:</label>
							<div class="col-md-5">
								<input type="text" name="isTop" class="form-control" th:value="${bpComments?.isTop}"  maxlength="10"/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-3 control-label">评论时间:</label>
							<div class="col-md-5">
								<input type="text" name="releaseTime" class="form-control" th:value="${bpComments?.releaseTime}"  maxlength="0"/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-3 control-label">状态:</label>
							<div class="col-md-5">
								<input type="text" name="status" class="form-control" th:value="${bpComments?.status}"  maxlength="10"/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-3 control-label">备注:</label>
							<div class="col-md-5">
								<input type="text" name="remark" class="form-control" th:value="${bpComments?.remark}"  maxlength="255"/>
							</div>
						</div>
					    <input type="hidden" name="id" th:value="${bpComments?.id}"/>
		            </form>
	            </div>
	            <div class="box-footer">
	            	<div class="col-md-9 col-md-offset-3">
						<button type="button" class="btn btn-primary" onclick="save()">保存</button>
			          	<button type="button" class="btn btn-default" onclick="forwardPage('/bpComments/init')">取消</button>
			        </div>
	            </div>
	        </div>
		</div>
	</div>
	<script th:src="@{/js/bp/bpComments/bpComments.js}"></script>
</section>